<%@ page language="java" contentType="text/html; charset=utf-8"  pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> 

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Dashboard">
    <meta name="keyword" content="Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">

    <title>放款信息填写</title>

    <!-- Bootstrap core CSS -->
    <link href="res/assets/css/bootstrap.css" rel="stylesheet">
    <!--external css-->
    <link href="res/assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" href="res/assets/js/bootstrap-datepicker/css/datepicker.css" />
    <link rel="stylesheet" type="text/css" href="res/assets/js/bootstrap-daterangepicker/daterangepicker.css" />
        
    <!-- Custom styles for this template -->
    <link href="res/assets/css/style.css" rel="stylesheet">
    <link href="res/assets/css/style-responsive.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>
 <input type="hidden" id="cc" value="${yonghuming}">
<input type="hidden" id="xx" value="${quanxian}">
  <script type="text/javascript">
    window.onload = function shan(){
     
   
      var pan = document.getElementById("cc").value;
      var pz = "";
      if (pan == pz) {
         alert("未登录，请先登录！");
         window.location.href="http://localhost:8081/daikuan/denglu?";
      };
    }



    function qx(){

      var xx = document.getElementById("xx").value;

      if (xx == "员工") {
        alert("管理员才能使用此部分权限！");
      return false;
      }
    }
    </script>
  <section id="container" >
      <!-- **********************************************************************************************************************************************************
      TOP BAR CONTENT & NOTIFICATIONS
      *********************************************************************************************************************************************************** -->
      <!--header start-->
      <header class="header black-bg">
              <div class="sidebar-toggle-box">
                  <div class="fa fa-bars tooltips" data-placement="right" data-original-title="Toggle Navigation"></div>
              </div>
            <!--logo start-->
            <a  class="logo"><b>欢迎：${yonghuming}</b>${quanxian}</a>
            <!--logo end-->
            <div class="nav notify-row" id="top_menu">
                <!--  notification start -->
              
                <!--  notification end -->
            </div>
            <div class="top-menu">
            	<ul class="nav pull-right top-menu">
                    <li><a class="logout" href="tuichu?">退出</a></li>
            	</ul>
            </div>
        </header>
      <!--header end-->
      
      <!-- **********************************************************************************************************************************************************
      MAIN SIDEBAR MENU
      *********************************************************************************************************************************************************** -->
      <!--sidebar start-->
      <aside>
          <div id="sidebar"  class="nav-collapse ">
              <!-- sidebar menu start-->
              <ul class="sidebar-menu" id="nav-accordion">
              
              	
                  <p class="centered"><a href="#"><img src="res/assets/img/ui-sam.jpg" class="img-circle" width="60"></a></p>
                  <h5 class="centered">汽车贷款系统后台</h5>
                    
                  <li class="mt">
                      <a class="active" href="htzhuye?">
                          <i class="fa fa-dashboard"></i>
                          <span>主页</span>
                      </a>
                  </li>

                  <li class="sub-menu">
                      <a href="javascript:;" >
                          <i class="fa fa-desktop"></i>
                          <span>贷款管理</span>
                      </a>
                      <ul class="sub">
                          <li><a  href="htsqtongguoye?">贷款计划已通过</a></li>
                          <li><a  href="hthuankuanyilanye?">还款管理</a></li>
                          <li><a  href="htdaikuanshenqingye?" onclick="return qx();">贷款计划申请</a></li>
                      </ul>
                  </li>

                  <li class="sub-menu">
                      <a href="javascript:;" >
                          <i class="fa fa-cogs"></i>
                          <span>用户</span>
                      </a>
                      <ul class="sub">
                          <li><a  href="htyonghuye?" onclick="return qx();">查看用户</a></li>
                      </ul>
                  </li>
                  

              </ul>
              <!-- sidebar menu end-->
          </div>
      </aside>
      <!--sidebar end-->
      
      <!-- **********************************************************************************************************************************************************
      MAIN CONTENT
      *********************************************************************************************************************************************************** -->
      <!--main content start-->
      <section id="main-content">
          <section class="wrapper">
          	<h3><i class="fa fa-angle-right"></i> 放款信息填写</h3>
          	
          	<!-- BASIC FORM ELELEMNTS -->
          	<div class="row mt">
          		<div class="col-lg-12">
                  <div class="form-panel">
                  	  <!-- <h4 class="mb"><i class="fa fa-angle-right"></i> 表单填写</h4> -->
                      <form class="form-horizontal style-form"  action="htfkbiaodan?" method="post">
                        <input hidden  name="shenqingid" value="${shenqingid}">
                        <input hidden  name="zhuangtai" value="通过">
                          <div class="form-group">
                              <label class="col-sm-2 col-sm-2 control-label">放款金额（￥）</label>
                              <div class="col-sm-10">
                                  <input type="text" class="form-control" name="daikuanjine" value="${daikuanjine}" disabled> 
                                  <!-- <span class="help-block">请根据自己的的信息填写</span> -->
                              </div>
                          </div>
                          <!-- <div class="form-group">
                              <label class="col-sm-2 col-sm-2 control-label">贷款利率</label>
                              <div class="col-sm-10">
                                  <input type="text" class="form-control" name="lilv" onkeyup="value=value.replace(/[^\d]/g,'')">
                                  <span class="help-block">单位%,只需要输入整数 如：10</span>
                              </div>
                          </div> -->
                          <!-- <div class="form-group">
                              <label class="col-sm-2 col-sm-2   control-label">分期数目</label>
                              <div class="col-sm-10">
                                  <input type="text" class="form-control round-form" name="fenqishu" onkeyup="value=value.replace(/[^\d]/g,'')">
                              </div>
                          </div> -->
                         <!--  <div class="form-group">
                              <label class="col-sm-2 col-sm-2 control-label">还款日期</label>
                              <div class="col-sm-10">
                                  <input class="form-control" name="chepai" id="focusedInput" type="text" >
                              </div>
                          </div> -->
                          <!-- <div class="form-group">
                              <label class="col-sm-2 col-sm-2 control-label">申请用户</label>
                              <div class="col-sm-10">
                                  <input class="form-control" name="" type="text"  value="${yonghuming}" disabled>
                                  <input hidden name="shenqingyonghu" value="${yonghuming}">
                              </div>
                          </div> -->
                         <!--  <div class="form-group">
                              <label class="col-sm-2 col-sm-2 control-label">m</label>
                              <div class="col-sm-10">
                                  <input type="text"  class="form-control" name="zhengjianhao" placeholder="证件号" onkeyup="value=value.replace(/[^\d]/g,'')">
                              </div>
                          </div> -->
                          <!-- <div class="form-group">
                              <label class="col-sm-2 col-sm-2 control-label">手机号</label>
                              <div class="col-sm-10">
                                  <input type="text"  class="form-control" name="shoujihao" placeholder="">
                              </div>
                          </div> -->
                          <!-- <div class="form-group">
                              <label class="col-sm-2 col-sm-2 control-label">地址</label>
                              <div class="col-sm-10">
                                  <input type="text"  class="form-control" name="dizhi" placeholder="地址" >
                              </div>
                          </div> -->
                          <div class="form-group">
                              <label class="col-sm-2 col-sm-2 control-label">描述</label>
                              <div class="col-sm-10">
                                  <textarea class="form-control" name="pinggujiegup"></textarea> 
                              </div>
                          </div>
                          <div class="form-group">
                              <label class="col-lg-2 col-sm-2 control-label"></label>
                              <div class="col-lg-10">
                                  <p class="form-control-static"> <button type="submit" class="btn btn-theme">放款</button></p>
                              </div>
                          </div>
                      </form>
                  </div>
          		</div><!-- col-lg-12-->      	
          	</div><!-- /row -->
          	
          	<!-- INLINE FORM ELELEMNTS -->
          
          	
          	<!-- INPUT MESSAGES -->
        
          	
          	<!-- INPUT MESSAGES -->
          
          	
          	
		</section><! --/wrapper -->
      </section><!-- /MAIN CONTENT -->

      <!--main content end-->
      <!--footer start-->
      <footer class="site-footer">
          <div class="text-center">
            <!--   2014 - Alvarez.is - More Templates <a href="http://www.cssmoban.com/" target="_blank" title="模板之家">模板之家</a> - Collect from <a href="http://www.cssmoban.com/" title="网页模板" target="_blank">网页模板</a>
              <a href="form_component.html#" class="go-top">
                  <i class="fa fa-angle-up"></i>
              </a> -->
          </div>
      </footer>
      <!--footer end-->
  </section>

    <!-- js placed at the end of the document so the pages load faster -->
    <script src="res/assets/js/jquery.js"></script>
    <script src="res/assets/js/bootstrap.min.js"></script>
    <script class="include" type="text/javascript" src="res/assets/js/jquery.dcjqaccordion.2.7.js"></script>
    <script src="res/assets/js/jquery.scrollTo.min.js"></script>
    <script src="res/assets/js/jquery.nicescroll.js" type="text/javascript"></script>


    <!--common script for all pages-->
    <script src="res/assets/js/common-scripts.js"></script>

    <!--script for this page-->
    <script src="res/assets/js/jquery-ui-1.9.2.custom.min.js"></script>

	<!--custom switch-->
	<script src="res/assets/js/bootstrap-switch.js"></script>
	
	<!--custom tagsinput-->
	<script src="res/assets/js/jquery.tagsinput.js"></script>
	
	<!--custom checkbox & radio-->
	
	<script type="text/javascript" src="res/assets/js/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
	<script type="text/javascript" src="res/assets/js/bootstrap-daterangepicker/date.js"></script>
	<script type="text/javascript" src="res/assets/js/bootstrap-daterangepicker/daterangepicker.js"></script>
	
	<script type="text/javascript" src="res/assets/js/bootstrap-inputmask/bootstrap-inputmask.min.js"></script>
	
	
	<script src="res/assets/js/form-component.js"></script>    
    
    
  <script>
      //custom select box

      $(function(){
          $('select.styled').customSelect();
      });

  </script>

  </body>
</html>
